//
//  InfoCell.m
//  WGFGlobalHouses
//
//  Created by waiguofang on 15/4/16.
//  Copyright (c) 2015年 waiguofang. All rights reserved.
//  信息管理界面中的 公司名称，身份认证等的cell

#import "InfoCell.h"

@interface InfoCell()
//写公司名称，身份认证等信息
@property (weak, nonatomic) IBOutlet UILabel *namelab;
@property (weak, nonatomic) IBOutlet UILabel *infolab;

@end

@implementation InfoCell

+(instancetype)cellWithTableView:(UITableView *)tableView;
{
    static  NSString *ID = @"infoCell";
    InfoCell *cell = [tableView dequeueReusableCellWithIdentifier:ID];
    if (cell == nil)
    {
        cell = [[[NSBundle mainBundle]loadNibNamed:@"InfoCell" owner:nil options:nil]lastObject];
    }
    return cell;
}

-(void)setName:(NSString *)name
{
    _name = name;
    self.namelab.text = name;
}
-(void)setTraderInfoNameModal:(TraderInfoNameModal *)traderInfoNameModal
{
//    _traderInfoNameModal = traderInfoNameModal;
//    
//    _namelab.text = traderInfoNameModal.infoName;
    
}
- (void)awakeFromNib {
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
